﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using l1cs.server.model.Instance;
using l1cs.server.model;

namespace l1cs.server.clientpackets
{
    public class C_TradeCancel : ClientBasePacket
    {
        private const String _C_TRADE_CANCEL = "[C] C_TradeCancel";
        private static Logger _log = Logger.getLogger( typeof( C_TradeCancel ).FullName );

        public C_TradeCancel( byte[] abyte0, ClientThread clientthread )
            : base( abyte0 )
        {

            L1PcInstance player = clientthread.getActiveChar();
            L1Trade trade = new L1Trade();
            trade.TradeCancel( player );
        }

        override
        public String getType()
        {
            return _C_TRADE_CANCEL;
        }
    }
}